//
//  TopicCell.m
//  FlowLayout
//
//  Created by Fuzzie Liu on 15/11/7.
//  Copyright © 2015年 Fuzzie Liu. All rights reserved.
//

#import "TopicCell.h"

@implementation TopicCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.imageView = [[UIImageView alloc] init];
        [self.contentView addSubview:_imageView];
        _imageView.contentMode = UIViewContentModeScaleAspectFill;
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.imageView.frame = self.contentView.bounds;
}

@end
